package com.example.spring_demo.ioc.v2;

import com.example.spring_demo.ioc.v2.Framework;

/**
 * @className: Car
 * @author: 芃
 * @description:
 * @date: 2024/12/23 11:36
 */
public class Car {
    private Framework framework;



    public Car(Framework framework) {
        this.framework = framework;
        System.out.println("Car is created");
    }


    public void run(){
        System.out.println("Car is running");
    }
}
